package com.healthyeating.manage.domain.vo;

import com.healthyeating.manage.domain.Comment;
import com.healthyeating.manage.domain.RecipeComment;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecipeCommentVo extends RecipeComment {

    /** 用户名称 */
    private String userName;

    /** 用户头像 */
    private String avatar;

    /** 回复用户名称 */
    private String toUserName;

    /** 子评论集合 */
    private List<RecipeCommentVo> commentChildList;
}
